package com.zian.service;

import com.zian.domain.dto.GoodsInfoDTO;
import com.zian.domain.dto.PageDTO;
import com.zian.domain.po.SysGoodsInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zian.domain.query.GoodsQuery;
import com.zian.domain.vo.GoodsInfoVO;
import com.zian.domain.vo.GoodsQueryVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2024-09-08
 */
public interface ISysGoodsInfoService extends IService<SysGoodsInfo> {

    PageDTO<GoodsQueryVO> queryGoodsInfoPage(GoodsQuery query);


    GoodsInfoVO queryGoodsInfoDetail(Long id);

    void deleteGoodsInfoByIds(List<Long> ids);

    void updateGoodsInfo(GoodsInfoDTO dto);

    void addGoodsInfo(GoodsInfoDTO dto);

    void updateGoodsSellStatus(Long id );
}
